import { createRoot } from "react-dom/client";

import App from "./App.jsx";
import store from "./store";
import { Provider } from "react-redux";

import { ConfigProvider } from "antd";
import zhCN from "antd/locale/zh_CN";
import "dayjs/locale/zh-cn";
import dayjs from "dayjs";

dayjs.locale("en");

const root = createRoot(document.getElementById("root"));

root.render(
  <Provider store={store}>
    <ConfigProvider locale={zhCN}>
      <App />
    </ConfigProvider>
  </Provider>
);
